package com.ruoyi.project.para.teller.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 柜员信息对象 sys_teller
 *
 * @author ruoyi
 * @date 2020-03-31
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "sys_teller")
public class Teller implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 柜员号 */
    @Excel(name = "柜员号")
    private String tellerCode;

    /** 柜员姓名 */
    @Excel(name = "柜员姓名")
    private String tellerName;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 柜员状态（0正常 1停用） */
    @Excel(name = "柜员状态",readConverterExp = "0=正常,1=停用")
    private String status;

    /** 机构号 */
    @Excel(name = "机构号")
    private String deptId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identityNo;

    /** 类型 */
    //@Excel(name = "类型")
    private String type;

    /** 主键 */
    @TableId(value = "teller_id")
    private String tellerId;

}
